package com.aorise.service.assess;

import com.aorise.model.approve.ApproveModel;
import com.aorise.model.assess.AssessModel;
import com.aorise.utils.page.Page;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @Author:cat
 * @Desicription: 考核管理接口服务类
 * @Date:Created in 2019-06-20
 * @Modified By:
 */
public interface AssessService {

    /**
     * @Author:cat
     * @Description 分页查询考核信息
     * @params: map 查询条件
     * @params: page 分页
     * @Date:2019-06-20
     * @Return: List<AssessModel> 考核信息集合
     * @Modified By:
     */
    List<AssessModel> getAllAssessListByPage(Map<String, Object> map, Page page) ;

    /**
     * @Author:cat
     * @Description 统计前一天的考核管理信息
     * @Date:2019-06-20
     * @Return: Integer 主键
     * @Modified By:
     */
    Integer updateAssess();

    /**
     * @Author:cat
     * @Description 导出考核信息
     * @params: map 查询条件
     * @params: response
     * @Date:2019-06-20
     * @Modified By:
     */
    void exportAssess(Map<String, Object> map, HttpServletResponse response);

}
